home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wildcat Files 2
/
The Wildcat Files 2 (Arsenal Computer).ISO
/
wccode
/
outfrom.wcc
< prev
next >
Wrap
Text File
|
1994-12-09
|
706b
|
24 lines
'This subroutine is a drop in one that prints text out from the center.
'The parameters are as follows:
'~
'Line = Line on screen where text is to be printed
'What = String to print
'Stcolor = Color of the string to print in @ code format
sub outfromcenter (line as integer, what as string, stcolor as string)
dim l as integer
what = what + " "
what = left (what,int(len(what)/2)*2)
print "@NOPAUSE@"+stcolor
for l = 1 to (len(what)/2)
delay .02
locate (line,40-l)
print left(what,l);right(what,l)
next l
end sub
'The following is an example of this subroutine.
outfromcenter (10,"This is a test of the emergency broadcast system","@1F@")
waitenter